package cn.web;

import com.alibaba.druid.support.http.StatViewServlet;

import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;

/**
 * 配置druid的性能监控生成页面的servlet
 */
@WebServlet(value = "/druid/*",
        initParams = {
            @WebInitParam(name = "loginUsername",value = "druid"),
            @WebInitParam(name = "loginPassword",value = "123"),
            /*@WebInitParam(name = "allow",value = ""),
            @WebInitParam(name = "deny",value = ""),
            @WebInitParam(name = "",value = ""),*/
        }
)
public class DruidViewServlet extends StatViewServlet {
}
